﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HanGu.Entity;
using System.ServiceModel;

namespace HanGu.Services.Interface
{
    /// <summary>
    /// 消费记录
    /// </summary>
    [ServiceContract(Name = "ChargeRecorde", Namespace = "http://www.haigu.com/")]
    public interface IChargeRecorde
    {
        [OperationContract]
        List<VChargeRecorde> GetAll(UniversallySearchParam searchParam);
        [OperationContract]
        List<ChargeRecorde> GetByID(int id);
        [OperationContract]
        bool Add(ChargeRecorde model);
        [OperationContract]
        bool Update(ChargeRecorde model);
        [OperationContract]
        bool Delete(int  id);
        
    }
}
